package xin.marcher.module.seller.domain.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * 卖家与卖家组关系入参
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SellerGroupRelationRequest extends PageRequest implements Serializable {
    /**
     * 卖家组ID
     */
    @NotNull(message = "sellerGroupId不能为空")
    private Long sellerGroupId;

    /**
     * 卖家id列表
     */
    @Size(min = 1, max = 100, message = "sellerIdList不能为空，且最多同时操作200个")
    private List<Long> sellerIdList;

    /**
     * 卖家组ID集合
     */
    private List<Long> sellerGroupIdList;
}